package com.weixing.mall.provider.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.provider.api.model.enums.OrderTypeEnum;
import com.weixing.mall.provider.model.enums.AfterSaleAuditEnum;
import com.weixing.mall.provider.model.enums.AfterSaleResultEnum;
import com.weixing.mall.provider.model.enums.OrderFromEnum;
import com.weixing.mall.provider.model.enums.OrderStateEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName AppAuditDetilVo
 * @Description TODO <br/>
 * @Author gjq
 * @Modified By:
 * @Date 2019/11/12
 * @Version 1.0
 **/
@Data
public class AppAuditDetilVo {

    //订单id
    private Long id;
    //订单编号
    private String orderSn;
    //物流单号
    private String expressSn;
    //原始物流单号
    private String beforExpressSn;
    //发货前审核时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date auditTime;
    //发货时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date shipTime;
    //订单状态
    private OrderStateEnum orderStatus;
    //所属客服id
    private Long customerId;
    //所属发货员id
    private Long shipperId;
    //下单来源 客服下单，代理商下单，客户下单
    private OrderFromEnum orderFrom;
    //所属仓库id
    private Long depotId;
    //客户备注
    private String remark;
    //订单创建时间（下单时间）
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
    //下单人
    private String buyer;

    //身高
    private Double height;
    //体重
    private Double weight;
    //客户名称（联系人）
    private String contactUser;
    //联系电话
    private String contactPhone;
    //收货地址
    private String addrDetail;
    //省
    private String province;
    //市
    private String city;
    //区
    private String region;
    //街道
    private String town;
    //操作时间（订单进入售后前最后一次审核时间）
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date operationTime;
    //商品货号
    private String goodsSn;
    /*
     * 分类（类目名称）
     */
    private String catName;
    //供应商
    private String supplierName;
    //商品款号
    private String productSn;
    //商品码
    private String orderGoodsSn;
    //sku描述
    private String productSkuDesp;
    //商品id
    private Long goodsId;
    //产品id
    private Long productId;
    //商品图片
    private String image;
    //仓库名称
    private String depotName;
    //客服姓名
    private String customerName;
    //发货员名称
    private String shipperName;
    //发货员备注
    private String shipperRemark;
    //客服备注
    private String customerRemark;

    //售后id
    private Long afterSaleId;
    //接收人
    private String receivedBy;
    //接收时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date receiveTime;

    //外采
    private BigDecimal outerPrice;
    @ApiModelProperty(value = "售后状态")
    private AfterSaleAuditEnum status;
    @ApiModelProperty(value = "售后结果")
    private AfterSaleResultEnum afterSaleResult;

    /**
     * 活动名称
     */
    private String actName;

    /** 接收备注*/
    private String receiveRemark;

    /** 所属代理商*/
    private String agentName;
    /** 订单金额*/
    private BigDecimal orderPrice;
    @ApiModelProperty(value = "序号")
    private  String depotOrder;


    private OrderTypeEnum orderType;
}
